﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace AbpCompanyName.AbpProjectName.Migrations;

public partial class Upgraded_To_Abp_5_1_0 : Migration
{
    protected override void Up(MigrationBuilder migrationBuilder)
    {
        migrationBuilder.AlterColumn<string>(
            name: "UserNameOrEmailAddress",
            table: "AbpUserLoginAttempts",
            maxLength: 256,
            nullable: true,
            oldClrType: typeof(string),
            oldMaxLength: 255,
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "Value",
            table: "AbpSettings",
            nullable: true,
            oldClrType: typeof(string),
            oldMaxLength: 2000,
            oldNullable: true);
    }

    protected override void Down(MigrationBuilder migrationBuilder)
    {
        migrationBuilder.AlterColumn<string>(
            name: "UserNameOrEmailAddress",
            table: "AbpUserLoginAttempts",
            maxLength: 255,
            nullable: true,
            oldClrType: typeof(string),
            oldMaxLength: 256,
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "Value",
            table: "AbpSettings",
            maxLength: 2000,
            nullable: true,
            oldClrType: typeof(string),
            oldNullable: true);
    }
}
